<template>
    <div class="header_container">
       <el-breadcrumb separator="/">
            <el-breadcrumb-item :to="{ path: '/Page' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item v-for="(item, index) in $route.meta" :key="index">{{item}}</el-breadcrumb-item>
        </el-breadcrumb>
        <el-dropdown>
            <img class="userInforPic" src="http://cangdu.org:8001/img/default.jpg" alt="">
            <el-dropdown-menu slot="dropdown" style="text-align: center;">
                <el-dropdown-item>退出</el-dropdown-item>
                <el-dropdown-item>首页</el-dropdown-item>
            </el-dropdown-menu>
        </el-dropdown>
    </div>
</template>

<script>
export default {
    name: '',
    data () {
        return {
          
        }
    },
    methods: {
        handleClick() {
            alert('button click');
        }
    }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.header_container{
    background-color: #EFF2F7;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    width: 100%;
    box-sizing: border-box;
    padding-right: 40px
}
.userInforPic{
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
}
</style>
